<template>
	<dam-page>
		<dam-scroll-page :headerHeight="(toolbarH+safeAreaTopH)+'px'" isFixZIndex
			:safeBottomHeight="safeAreaBottomH+'px'">
			<template v-slot:header>
				<dam-toolbar title="模板" fixed :bgColor="themeData['color_toolbar_bg']" @leftClick="leftClick"
					:leftIconColor="themeData['color_toolbar_title']" leftIconClass="damicon damicon-back">
					<!-- <template #right>
					<icon class="ic_right tjicon tjicon-filter" type=""></icon>
				</template> -->
				</dam-toolbar>
			</template>
			<view class="dam-flex_column v_content">
			</view>
		</dam-scroll-page>
	</dam-page>
</template>

<script lang="ts" setup>
	import { ref } from 'vue';
	import { onLoad } from "@dcloudio/uni-app";
	import { storeToRefs } from 'pinia';
	import { getAbilityExector } from '@/dam_uni_frame/utils/DamApi';
	import { usePageStore } from "@/dam_uni_frame/stores/stores";
	import DamBridge from '@/dam_common/abilitys/DamBridge';
	import ThemeColorUtil from '@/jzutils/ThemeColorUtil';
	const themeStore = ThemeColorUtil.useThemeStore();
	const { themeData } = storeToRefs(themeStore);
	const pageStore = usePageStore();
	const { toolbarH, safeAreaTopH, safeAreaBottomH } = storeToRefs(pageStore);

	onLoad((options) => {

	})

	function leftClick() {
		getAbilityExector().navigateback();
	}
</script>

<style lang="scss" scoped>
	@import "/dam_uni_frame/styles/dam_theme_common.scss";
	@import "/static/css/iconfont.css";
</style>